package org.shop.service;

import java.util.List;
import java.util.Map;

import org.shop.entity.Merchant;
import org.shop.service.base.BaseService;

public interface MerchantService extends BaseService<Merchant, Long>{
	
    /**
     * 获取正在审核的店铺
     * @param paramMap
     * @return
     */
	public Map<String,Object> getCheckOfShopList(Map<String, Object> paramMap);
	/**
     * 获取正在审核的店铺
     * @param paramMap
     * @return
     */
	public Map<String,Object> getAllShopList(Map<String, Object> paramMap);
	
	/**
	 * 获取所有的有效的店铺信息
	 * @return
	 */
	public List<Merchant> getAllMerchantInfo();
	
	/**
	 * 多条件获取店铺信息
	 * @param paramMap
	 * @return
	 */
	public Merchant getMerchantInfo(Map<String, Object> paramMap);
	
	/**
	 * 判断店铺名是否存在
	 * @param map
	 * @return
	 */
	public int verifyMerchantName(Map<String, Object> paramMap);
	
}
